package com.mapgis

import com.mapgis.service.LogToOracleService

object EventParseLogToOracle {

    /**
      * 参数的顺序
      *     解析事件开始时间、解析事件结束时间、导入事件临时表的时间、导入诉求人员表的时间、解析状态、解析日志、导入数据数量、dataX同步开始时间(这一个使用来匹配以便于进行更新)
      * @param args
      */
    def main(args: Array[String]): Unit = {
        val parseStartTime = args(0)
        val parseEndTime = args(1)
        val importTempTime = args(2)
        val importPersonTime = args(3)
        val parseState = args(4)
        val parseErrorLogPath = args(5)
        val succeedImportNum = args(6)
        val dataxSyncStartTime = args(7)
        val shouldImportNum = args(8)

        LogToOracleService.eventParseLogToOracle(parseStartTime,parseEndTime,importTempTime,importPersonTime,parseState,parseErrorLogPath,succeedImportNum,dataxSyncStartTime,shouldImportNum)
    }

}
